projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
844a060
)
Don't time out after 0.006 seconds
author
Steven Fackler
<sfackler@gmail.com>
Wed, 25 Feb 2015 04:20:59 +0000
(20:20 -0800)
committer
Steven Fackler
<sfackler@gmail.com>
Wed, 25 Feb 2015 04:20:59 +0000
(20:20 -0800)
src/cargo/ops/registry.rs
patch
|
blob
|
history
diff --git
a/src/cargo/ops/registry.rs
b/src/cargo/ops/registry.rs
index d72ed78fd9151ea6fdc27e13c4aef378aa726f36..b62e5b2041e56675a6f697dd82b0fa9bfb0f0857 100644
(file)
--- a/
src/cargo/ops/registry.rs
+++ b/
src/cargo/ops/registry.rs
@@
-161,7
+161,7
@@
pub fn registry(config: &Config,
/// Create a new HTTP handle with appropriate global configuration for cargo.
pub fn http_handle(config: &Config) -> CargoResult<http::Handle> {
- let handle = http::handle().timeout(60);
+ let handle = http::handle().timeout(60
_000
);
let handle = match try!(http_proxy(config)) {
Some(proxy) => handle.proxy(proxy),
None => handle,